#ifndef __CPPTUTORCIRCULARLINKEDLIST_H__
#define __CPPTUTORCIRCULARLINKEDLIST_H__

#include <iostream>

struct link_list
 {
	 int no;
	 struct link_list *next;
 };

class CcppTutorCircularLinkedList
{
	private:	
        link_list *list;
    public:
        link_list *head;
        
        CcppTutorCircularLinkedList() : list (NULL), head (NULL) { }
        ~CcppTutorCircularLinkedList () { }

        int display_menu ();
        void circular_main ();       
        void get_list();
        void display_list();
        void insert();
        void delete_list();
        void sort();
        void merge(link_list *,link_list*);
        void reverse();
   
        friend void union_list(link_list *,link_list *);
        friend void intersact(link_list *,link_list *);   
};

#endif //__CPPTUTORCIRCULARLINKEDLIST_H__
